//
//  STPlayServiceNetwork.swift
//  iPhone
//
//  Created by Toj on 10/23/23.
//

import Foundation

class STPlayServiceNetwork: NSObject {
    
    static let manager = STPlayServiceNetwork()
    
    private override init() { super.init() }
    // 非全局调用, 不要使用, 文件内部调用还是使用文件内部的变量控制
    //private var isLoading = false
}

extension STPlayServiceNetwork {
    
    /**
     API: /pss/dvb/vod/push/query GET
     - note: 查询 DVB Free Push 列表 接口
     - since: 4.9
     - experiment:
     ```
     ssss
     ```
     - parameter pushTime: 推送时间
     - parameter index: 下表，上向是-1，向下是正数
     - parameter size: 每页多少条，默认20条
     - returns: sss
     */
    func pssquery() {
        
    }
    
    /**
      查询 DVB Free Push 列表 接口
     - note: /pss/dvb/vod/push/query GET
     - since: 4.9
     
     - parameter pushTime: 推送时间
     - parameter index: 下表，上向是-1，向下是正数
     - parameter size: 每页多少条，默认20条
     - returns: sss
     */
    func pssquery1_1() {
        
    }
    
    /**
     <#comment#>
     - note: <#note#>
     - version: <#v#>
     
     - parameter <#name#>: <#参数名#>
     - returns: <#返回值#>
     */
    func pssquery1_2() {
        
    }
    
    /**
     api
     - Note: 传入两个整数即可1
     
     - parameters:
     - x1:  Just for test this method.
     - x2:  Just for test this method.
     - x3:  Just for test this method.
     - x4:  Just for test this method.
     - returns:
     Void.
     
     - Note: 传入两个整数即可2
     - e.g.:
     ``` pssquery1
     pssquery3()
     ```
     
     - Note: 传入两个整数即可3
     - e.g.:
     ``` pssquery3
     pssquery3()
     ```
     */
    func pssquery2() {
       
    }
    
    /**
    函数的含义说明
     - Attention: ffff
    */
    func pssquery2_1() { }
    
    /// 求和[概述]
    ///
    /// 将两个整数相加【更详细的描述】
    /// - Parameter v1: 第一个整数
    /// - Parameter v2: 第二个整数
    /// - returns： 两个整数的和
    ///
    /// - Note: 传入两个整数即可
    ///
    func pssquery3() {
        
    }
    
    
    
    /**
     This method feeds a certain food to a person.
     
     - parameter food: The food you want to be eaten.
     - parameter person: The person who should eat the food.
     
     - returns: True if the food was eaten by the person; false otherwise.
     */
    func pssquery4() {
        
    }
    
    /// 求和
    /// - parameter value:  数值1
    /// - parameter value2: 数值2
    /// - returns: 返回结果是
    ///
    /// - experiment:
    /// give it a try
    ///  ```
    ///  let _ = tt_sum(value: 1, value2: 2)
    ///  ```
    ///
    /// - Precondition:
    /// 必须是2个整数
    ///
    /// Note:
    /// 2个数不能太大
    func pssquery5() {
        
    }
    
    /**
     This method feeds a certain food to a person.
     
     - parameter food: The food you want to be eaten.
     - parameter person: The person who should eat the food.
     - returns: True if the food was eaten by the person; false otherwise.
     
     ```
     /**
      * Warnings
      - 1: Thing one
      - 2: Thing two
      - 3: Thing three
      */
     ```
     Examples
     code block:
     ```
     /**
      * Here is an example use case indented by four spaces because that indicates a
      */
     let myAwesomeThing = MyAwesomeClass()
     myAwesomeThing.makeMoney()
     ```
     */
    func pssquery5_1() {
        
    }
    
    /**
     Feature Support
     
     This class does some awesome things. It supports:
     
     - Feature 1
     - Feature 2
     - Feature 3
     
     Examples
     
     Here is an example use case indented by four spaces because that indicates a
     code block:
     ```
     let myAwesomeThing = MyAwesomeClass()
     myAwesomeThing.makeMoney()
     ```
     Warnings
     
     There are some things you should be careful of:
     
     1. Thing one
     2. Thing two
     3. Thing three
     */
    func pssquery6() {
        
    }
    
    /**
     This does something with a `UIViewController`, perchance.
     - warning: Make sure that `someValue` is `true` before running this function.
     */
    func pssquery7() {
        
    }
}

extension STPlayServiceNetwork {
    
    func test() {
        
        pssquery()
        pssquery1_1()
        
        pssquery2()
        
        pssquery3()
        
        pssquery4()
        
        pssquery5()
        
        pssquery6()
        
        pssquery7()
    }
}
